package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.VoiceSet;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface VoiceSetMapper {
    int deleteByPrimaryKey(Long id);

    int insert(VoiceSet record);

    int insertSelective(VoiceSet record);

    VoiceSet selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(VoiceSet record);

    int updateByPrimaryKey(VoiceSet record);

    VoiceSet findOneByUserId(@Param("userId")Long userId);

    int updateTypeByUserId(@Param("updatedType")Byte updatedType,@Param("userId")Long userId);



}